package syan.sql;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import syan.sql.service.DivisionService;
import syan.sql.service.RepairService;

/**
 * @author CHENTAIWEN
 * @create 2022/9/18 10:30
 */
@RunWith(SpringRunner.class)
@SpringBootTest
public class repair {

    @Autowired
    private RepairService repairService;
    @Autowired
    private DivisionService divisionService;

    @Test
    public void run() {
//        修复flow_Id 未能更变的错误
        repairService.update();
        //进行更改
        repairService.repair();
    }

    @Test
    public void update() {
        repairService.update();
    }

    @Test
    public void updateDision() {
        divisionService.update();
    }
}
